Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
authorCody Russell <bratsche@gnome.org>
Sun, 25 May 2008 23:27:34 +0000 (23:27 +0000)
committerCody Russell <bratsche@src.gnome.org>
Sun, 25 May 2008 23:27:34 +0000 (23:27 +0000)
commit4f84a5f292ed40074a063427e99a623c71476e8c
tree28910cb7b2dbd080cf8f8460bd72e175a78dcabf
parenta0e6b364784273855fba3a56218b4f04e3998bdc
Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows

        * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
        !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
        so that we also take into account for foreign windows.
        Report and patch by Nathaniel Smith.

svn path=/trunk/; revision=20166
ChangeLog
gdk/x11/gdkwindow-x11.c